<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">

*{ margin:0; padding:0; border:0;background-repeat:no-repeat;font-size:14px;list-style-type:none;} 

a:link {text-decoration:none;color: white;}

a:visited {text-decoration:none;}

.nav li:hover {background: red;}

a:active {text-decoration:none;}

.link{width:100%; height:36px; line-height:36px; background:blue; margin:10px auto;}

.nav{width:100%; height:36px; margin:0 auto;}

.nav li{float:left;width:260px; border-right:#FFF solid 2px; text-align:center;}


</style>
</head>
<body>

<div class="link">

<ul class="nav" >

<li><a href="#">首页</a></li>

<li><a href="#">导入java</a> </li>

<li><a href="#">导航</a></li>

<li><a href="#">版权</a></li>


</ul>

</div>

</body>
</html>